package top.canyue.word_range.pojo.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 单词
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Word {
    /**
     * 单词/短语
     */
    @TableId(type = IdType.INPUT)
    private String word;
    /**
     * 难度等级
     * @see top.canyue.word_range.constant.DifficultyLevelConstant
     */
    private Integer difficultyLevel;
}
